package com.gongpingjialoan.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/9/12.
 */
public class SearchDealerBean {

    /**
     * status : success
     * msg : message
     * data : [{"distance":"","update_time":"2016-09-12 00:00:00","company_name":"?????????","on_sale_count":104,"is_certify":false,"id":40512}]
     * total_page : 1.0
     */

    private String status;
    private String msg;
    private double total_page;
    /**
     * distance :
     * update_time : 2016-09-12 00:00:00
     * company_name : ?????????
     * on_sale_count : 104
     * is_certify : false
     * id : 40512
     */

    private List<DataEntity> data;

    public void setStatus(String status) {
        this.status = status;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setTotal_page(double total_page) {
        this.total_page = total_page;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }

    public double getTotal_page() {
        return total_page;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String distance;
        private String update_time;
        private String company_name;
        private String address;
        private String city;
        private int on_sale_count;
        private boolean is_certify;
        private int id;

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public void setDistance(String distance) {
            this.distance = distance;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public void setCompany_name(String company_name) {
            this.company_name = company_name;
        }

        public void setOn_sale_count(int on_sale_count) {
            this.on_sale_count = on_sale_count;
        }

        public void setIs_certify(boolean is_certify) {
            this.is_certify = is_certify;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getDistance() {
            return distance;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public String getCompany_name() {
            return company_name;
        }

        public int getOn_sale_count() {
            return on_sale_count;
        }

        public boolean isIs_certify() {
            return is_certify;
        }

        public int getId() {
            return id;
        }
    }
}
